package com.tsingtree.modular.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tsingtree.modular.entity.NanSellAnnounceBanner;
import com.tsingtree.modular.model.params.NanSellAnnounceBannerParam;

import java.util.List;

/**
 * <p>
 * 社区Banner 服务类
 * </p>
 *
 * @author jagger
 * @since 2025-10-18
 */
public interface NanSellAnnounceBannerService extends IService<NanSellAnnounceBanner> {

    /**
     * 查询所有Banner列表
     *
     * @return Banner列表
     */
    List<NanSellAnnounceBanner> findAllBanners();

    /**
     * 新增Banner
     *
     * @param param Banner参数
     */
    void add(NanSellAnnounceBannerParam param);

    /**
     * 删除Banner
     *
     * @param param Banner参数
     */
    void delete(NanSellAnnounceBannerParam param);

    /**
     * 根据ID查询
     *
     * @param param 参数
     * @return Banner实体
     */
    NanSellAnnounceBanner findById(NanSellAnnounceBannerParam param);

}
